//
//  YQResponse.m
//  yiqiquan
//
//  Created by lx on 16/7/14.
//  Copyright © 2016年 honhot. All rights reserved.
//  返回值

#import "YQResponse.h"

NSString * const YQResponseCodeTokenInvalidNote = @"YQResponseCodeTokenInvalidNote";

@implementation YQResponse

//实现一个错误的返回
+ (instancetype)errorResponseWithMsg:(NSString *)msg
{
    YQResponse *response = [[YQResponse alloc] init];
    response.error_code = YQResponseCodeError;
    response.msg = msg;
    return response;
}

@end
